export default {
    // 获取主营品类和辅营品类的数据
    shopData(state, code){
        // 主营数据
        // console.log("shopMutation:",code);
        state.data.shopKind = code.shopKind
        state.data.myKind = code.myKind
        state.data.MainCategory = code.main
        // 辅营数据
        state.data.AuxiliaryCategory = code.au

        // console.log("shopMutation:",code);
        // console.log("myKind:",state.data.myKind);
        // console.log("MainCategory:",state.data.MainCategory);
        // console.log("AuxiliaryCategory",state.data.AuxiliaryCategory);
    },

    setShopInformation(state, data){
        state.data.shopInformation = data
        // console.log('门店信息', state.data.shopInformation);
    },
    setPersonInformation(state, data){
        state.data.PersonInformation = data
        // console.log(state.data.PersonInformation);
    },
    setQualificationInformation(state, data){
        state.data.qualificationInformation = data
        // console.log(state.data.qualificationInformation);
    },
    // 开店申请时间
    getTime(state, data){
        state.time = data
    }
}
